package com.webside.points.mapper;

import java.util.List;

import com.webside.points.model.PostEntity;

public interface PostMapper {
	
	public List<PostEntity> findAll(PostEntity postEntity);
	
	public PostEntity findById(int postId);
	
	public int insert(PostEntity postEntity);
	
	public int delete(int postId);
	
	public int update(PostEntity postEntity);
	
	public int findCount(PostEntity postEntity);
	
	public int updateStatus(PostEntity postEntity);
	
	public List<PostEntity> findAllPost(String title);
	
	public int updateBrowseNumber(PostEntity postEntity);
	
	public List<PostEntity> findByPostTypeId(int typeId);

}
